package com.hqhy.like.stock.dao.persist.repository;

import com.hqhy.like.stock.pojo.entity.Category;
import com.hqhy.like.stock.pojo.vo.CategoryListItemVO;

import java.util.List;

public interface ICategoryRepository {

    int insert(Category category);

    int deleteById(Long id);

    int updateById(Category category);

    List<CategoryListItemVO> list();
}
